package testCasalib 
{
	import flash.geom.Point;
	import org.casalib.display.CasaMovieClip;
	import org.casalib.math.geom.Ellipse;
	import org.casalib.util.DrawUtil;
	
	/**
	 * ...
	 * @author ...
	 */
	public class draw extends CasaMovieClip 
	{
		
		public function draw() 
		{
			this.graphics.lineStyle(4, 0x00FF00);
			DrawUtil.drawPath(this.graphics, new Array(new Point(50, 25), new Point(25, 50), new Point(50, 75), new Point(25, 100)));
			this.graphics.endFill();
			
			this.graphics.beginFill(0xFF00FF);
			DrawUtil.drawWedge(this.graphics, new Ellipse(0, 0, 300, 200), 0, 300);
			this.graphics.endFill();
		}
		
	}

}